package com.rookie.jeesdp.entity.admin;

import org.springframework.security.core.GrantedAuthority;

public class Role implements GrantedAuthority {

    private String id;
    private String name;
    private String authority;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }
}
